MailPoet\Services\Bridge A

Total Complexity 53
Dependencies 7
Dependents 31
Total lines 310
Lines of code 207
Logical lines of code 88
Comment lines 36
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
onSettingsSave()
A
55 9 18
processKeyCheckResult()
S
53 5 24
getAuthorizedSenderDomains()
S
57 4 17
storePremiumKeyAndState()
S
60 3 16
storeMSSKeyAndState()
S
60 3 16
getAuthorizedEmailAddresses()
S
65 4 9
buildKeyState()
S
66 3 8
isMPSendingServiceEnabled()
S
64 3 9
__construct()
S
65 3 10
isMailpoetSendingServiceEnabled()
S
64 3 9
initApi()
S
69 2 7
createAuthorizedEmailAddress()
S
71 1 6
getApi()
S
73 1 5
verifyAuthorizedSenderDomain()
S
71 1 6
checkMSSKey()
S
72 1 6
pingBridge()
S
65 1 9
checkPremiumKey()
S
72 1 6
isPremiumKeySpecified()
S
72 1 5
isMSSKeySpecified()
S
72 1 5
updateSubscriberCount()
S
79 1 3
invalidateKey()
S
69 1 7
createAuthorizedSenderDomain()
S
70 1 6